//
//  HSYBindQrcodeRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/10.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYBindQrcodeRequest.h"

@implementation HSYBindQrcodeRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_BIND_QRCODE;
}

- (NSDictionary *)requestData{
    
    NSAssert(self.uid.length > 0, @"uid不能为空");
    NSAssert(self.shopId.length > 0, @"shopid不能为空");
    NSAssert(self.code.length > 0, @"code不能为空");

    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"userId"] = self.uid;
    params[@"code"] = self.code;
    params[@"shopId"] = self.shopId;

    return params;
}

@end
